﻿<%@ Page Language="C#" Title="" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeBehind="QuickReports.aspx.cs" Inherits="ExamAnalysis.QuickReports" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TitleContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        #links{ text-align:center;}
        #links li{float:left; margin:10px 20px; font-size:large;}
        .main{width:100%;clear:both;text-align:center;}
        #chooser{width:300px; text-align:center;}
        body{background:white;}
        #navigation{ text-align:right;}
        h1{ font-size:large}
        .reportChoice{width:100%;clear:both;}
        .dropDown{width:70%; font-size:large;}
        .dropDown2{width:40%; font-size:large;}
        #links{ text-align:center; }
        li{float:left; margin:0 20px;}
        a {color:Black;text-decoration:none;}
        a:hover{text-decoration:underline;}
        h4{margin:10px;margin-top:20px;font-size:18px;clear:both;color:Blue;}
        .links{font-size:14px;}
        .links li{margin:3px 10px;}
        #footer{width:700px;margin-left:70px;}
     </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div id="navigation">
            切换角色：    <asp:DropDownList ID="Ddrole" runat="server" Width="150" DataTextField="Text" 
                AutoPostBack="true" DataValueField="Value" onselectedindexchanged="Ddrole_SelectedIndexChanged">
            </asp:DropDownList>
    </div>
    <div id="wrapper" style="width:800px;margin:0 auto;margin-top:-20px;">
        <p style="text-align:center;"><img src="Images/main/welcome-doodle.jpg" alt="" style="height:140px;" /></p>
        <div id="chooser" style="text-align:center;width:100%; margin:10px 0; font-size:medium">
            <asp:LinkButton ForeColor="Red" ID="ExamLink" runat="server" Enabled="false"  Font-Bold="true" Text="考试" 
                        onclick="ExamLink_Click" />
                        &nbsp;
            <asp:LinkButton ForeColor="Red"  ID="GroupLink" runat="server" Text="考试组" 
                        onclick="GroupLink_Click" Enabled="true"/>
        </div>
        <asp:Panel ID="PanelExamGroup" Visible="false" CssClass="main" runat="server">
            <span>考试组：</span>
            <asp:DropDownList ID="DdExamGoup" CssClass="dropDown" runat="server" 
                DataTextField="GroupName" DataValueField="ExamGroupID"    AutoPostBack="true" 
                onselectedindexchanged="DdExamGoup_SelectedIndexChanged">
            </asp:DropDownList>
        </asp:Panel>

        <asp:Panel ID="PanelExam" Visible="true" CssClass="main" runat="server">
            <span>学期：</span>
            <asp:DropDownList ID="DdSchoolCalender" CssClass="dropDown2" Width="250" runat="server" DataTextField="DisplayName" 
                         DataValueField="CalendarID" AutoPostBack="true" 
                        onselectedindexchanged="DdSchoolCalender_SelectedIndexChanged">
           </asp:DropDownList>
            <span> 考试：</span>
            <asp:DropDownList ID="DdExam" 
                CssClass="dropDown2" runat="server" DataTextField="ExamName" Width="300" 
                AutoPostBack="true" DataValueField="ExamID" onselectedindexchanged="DdExam_SelectedIndexChanged">
            </asp:DropDownList>
        </asp:Panel>
                <div id="footer">
                 <asp:Panel ID="footerPanel" Visible="true" CssClass="reportChoice" runat="server">
                 <h4>常用总分相关分析报表</h4>
                <asp:Repeater ID="MacroRepeater" runat="server">
                    <HeaderTemplate>
                        <ul class="links">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <li><a href="<%#Eval("Value")%>"><%#Eval("Text") %></a></li>
                    </ItemTemplate>
                    <FooterTemplate>
                        </ul>
                    </FooterTemplate>
                </asp:Repeater>
                <br /><br />
                <h4>常用小分相关分析报表</h4>
                <asp:Repeater ID="MicroRepeater" runat="server">
                    <HeaderTemplate>
                        <ul class="links">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <li><a href="<%#Eval("Value")%>"><%#Eval("Text") %></a></li>
                    </ItemTemplate>
                    <FooterTemplate>
                        </ul>
                    </FooterTemplate>
                </asp:Repeater>
                <br /><br />
                <h4>常用小分相关分析报表</h4>
                <asp:Repeater ID="CompareRepeater" runat="server">
                    <HeaderTemplate>
                        <ul class="links">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <li><a href="<%#Eval("Value")%>"><%#Eval("Text") %></a></li>
                    </ItemTemplate>
                    <FooterTemplate>
                        </ul>
                    </FooterTemplate>
                </asp:Repeater>
                </asp:Panel>
        </div>
    </div>
   </asp:Content>
